package com.ccut.xunfeiSpringboot.mapper;

import com.ccut.xunfeiSpringboot.entity.Admin;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

@Mapper
public interface AdminMapper {

    Admin selectByUsername(String username);

    void insert(Admin admin);

    void deleteById(Integer id);
    Admin selectById(Integer id);

    void updateById(Admin admin);

    List<Admin> selectAll();

}